#include<bits/stdc++.h>
using namespace std;
int main() {
    freopen("color.in", "r", stdin);
    freopen("color.out","w",stdout);
    int T;
    cin >> T;
    while(T--) cout << 0 << endl;
    return 0;
}
